#899 closed task (fixed)
shp2pgsql attribute names mapping -m switch
Reported by: | strk | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.2.0 |
Component: | utils/loader-dumper | Version: | master |
Keywords: | history | Cc: |
Description
Since introduction of -m switch in pgsql2shp (ticket #885) it would be nice to have an -m switch in shp2pgsql, for simmetry.
To be extra nice, the _same_ mapping file should be used, which means reading DBF names on the second column and db attribute names on the first column.
Change History (8)
comment:1 by , 14 years ago
Component: | postgis → loader/dumper |
---|
comment:2 by , 13 years ago
Milestone: | PostGIS 2.0.0 → PostGIS Future |
---|
comment:3 by , 10 years ago
Milestone: | PostGIS Future → PostGIS 2.2.0 |
---|---|
Priority: | low → medium |
comment:4 by , 10 years ago
Owner: | changed from | to
---|
comment:5 by , 10 years ago
Keywords: | history added |
---|
comment:6 by , 10 years ago
doesn't seem I can win here. Native mode didn't seem to work. Will try that again.
windows line breaks worked fine on my machine and on winnie but debbie complained. Changing line breaks to linux ones of mapping file at r12823 calmed debbie down but made winnie unhappy.
comment:7 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
hmm I guess both debbie and winnie are happy with linux line breaks. I think. I'll close now while the bots are both happy.
Travis is still working but his last complaint was totally illogical.
comment:8 by , 10 years ago
Summary: | shp2pgsql attribute names mapping → shp2pgsql attribute names mapping -m switch |
---|
Committed at r12821 for PostGIS 2.2. (includes regress test and doc update) Will close once bots have confirmed all is fine.